﻿using System;
using System.Runtime.Serialization;
using Newtonsoft.Json;

namespace Common.ServiceResponse.ValueObjects.Vkontakte
{
    class VkUserProfile : ResponseBase
    {
        public VkUserProfile(ResponseDetails responseDetails) : base(responseDetails){ }

        [DataMember]
        [JsonProperty(PropertyName = "uid")]
        public string Id { get; set; }

        [DataMember]
        [JsonProperty(PropertyName = "first_name")]
        public string FirstName { get; set; }

        [DataMember]
        [JsonProperty(PropertyName = "last_name")]
        public string LastName { get; set; }

        [DataMember]
        [JsonProperty(PropertyName = "sex")]
        public string Gender { get; set; }

        [DataMember]
        [JsonProperty(PropertyName = "bdate")]
        public DateTime BirthDay { get; set; }

        [DataMember]
        [JsonProperty(PropertyName = "city")]
        public string City { get; set; }

        [DataMember]
        [JsonProperty(PropertyName = "country")]
        public string Country { get; set; }

        [DataMember]
        [JsonProperty(PropertyName = "timezone")]
        public string TimeZone { get; set; }

        [DataMember]
        [JsonProperty(PropertyName = "photo")]
        public string Photo { get; set; }

        [DataMember]
        [JsonProperty(PropertyName = "has_mobile")]
        public string HasMobile { get; set; }

        [DataMember]
        [JsonProperty(PropertyName = "rate")]
        public string Rate { get; set; }

        [DataMember]
        [JsonProperty(PropertyName = "mobile_phone")]
        public string MobilePhone { get; set; }

        [DataMember]
        [JsonProperty(PropertyName = "university")]
        public string University { get; set; }

        [DataMember]
        [JsonProperty(PropertyName = "university_name")]
        public string UnivercityName { get; set; }

        [DataMember]
        [JsonProperty(PropertyName = "faculty")]
        public string Faculty { get; set; }

        [DataMember]
        [JsonProperty(PropertyName = "faculty_name")]
        public string FacultyName { get; set; }

        [DataMember]
        [JsonProperty(PropertyName = "online")]
        public string Online { get; set; }
    }
}
